<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<script src="__STATIC__/admin/js/jquery-1.9.1.min.js"></script>
<script src="__STATIC__/layer/layer.js" type="text/javascript"></script>

<title>提示</title>
</head>

<body>
<div style="z-index: 19891015; width: 300px; height: 150px; top: 150px; left: 415px;" contype="string" showtime="0" times="1" type="dialog" id="layui-layer1" class="layui-layer layer-anim layui-layer-dialog layui-layer-border ">
    <div style="" class="layui-layer-title">
        信息提示
    </div>
    <div class="layui-layer-content" id="" style="height: 128px;">
        <div style="width: 40px; float: left;">
            <i style=" margin-top: 5px; margin-left: 10px;" class="layui-layer-ico layui-layer-ico2"></i>
        </div>
        <div style="height: 80px; width: 200px;float: left; margin-left: 50px;">
            <p style="margin-bottom: 0px; margin-top: 5px;">
                {$message}
            </p>
            <p style="margin-top: 0px; text-align: right">
                <font id="waittime">{$waitSecond}</font> 秒后跳转  <a style="font-size: 12px; color: #008ead" href="{$jumpUrl}">点击跳转</a>
            </p>
        </div>


    </div>
    <span class="layui-layer-setwin"></span>
</div>
</body>
<script>
$(function(){
        setInterval(function(){
            var delay = $('#waittime').text();
            if(parseInt(delay) > 1)
            {
                $('#waittime').text(parseInt(delay)-1);
            } else {
                window.location.href="{$jumpUrl}"
            }
        },1000)
});

</script>
</html>